package com.zhb.cloud.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zhb.cloud.mapper.PrizeMapper;
import com.zhb.cloud.model.Prize;
import com.zhb.cloud.service.PrizeService;

@Service
@Transactional
public class PrizeServiceImpl implements PrizeService {
	@Autowired
	private PrizeMapper prizeMapper;

	@Override
	public Integer getPrizeNum(Integer prizeId) {
		return prizeMapper.getPrizeNum(prizeId);
	}

	@Override
	public List<Prize> findPrizeList() {
		return prizeMapper.findPrizeList();
	}

}
